package com.zmn.oms.dubbo.dto.common.work;

import com.zmn.common.constant.GlobalConsts;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 类描述：修改预约时间
 *
 * @author wangxiaokun
 * @since 2021/1/26 17:15
 */
@Data
public class TrackModifyDutyTimeDIO implements Serializable {

    private static final long serialVersionUID = 7533586338496710570L;
    
    /**
     * 订单号
     */
    @ApiModelProperty(value = "订单号")
    @NotNull(message = "订单号不能为空")
    private Long orderId;

    /**
     * 工单号
     */
    @ApiModelProperty(value = "工单号")
    @NotNull(message = "工单号不能为空")
    private Long workId;

    /**
     * 预约时间
     */
    @ApiModelProperty(value = "工单号")
    @NotNull(message = "工单号不能为空")
    private Date dutyTime;

    /**
     * 操作者类型
     * @see GlobalConsts#OPERATE_USER_TYPE_SYSTEM
     */
    @ApiModelProperty(value = "操作者类型")
    @NotNull(message = "操作者类型不能为空")
    private Integer operatorType;

    /**
     * 操作者ID
     */
    @ApiModelProperty(value = "操作者ID")
    @NotNull(message = "操作者ID不能为空")
    private Long operatorId;

    /**
     * 操作者
     */
    @ApiModelProperty(value = "操作者")
    @NotNull(message = "操作者不能为空")
    private String operator;
}
